<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../core/include.inc.jsp"%>

<style>
    .pageFormContent p {
        width: 90%;
    }
</style>

<div class="pageContent">
    <form method="post" action="fee_add" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone)">

        <div class="pageFormContent nowrap" layoutH="57">

            <p>
                <label>小区名称：</label>
                <select class="combox" name="blockId">
                    <option value="0">全部小区</option>
                    <c:forEach var="item1" items="${blockList}">
                        <option value="${item1.id}">${item1.blockName}</option>
                    </c:forEach>
                </select>
            </p>
            <p>
            <label>物业费类型：</label>
            <c:if test="${!empty payTypeList}">
            <c:forEach var="item" items="${payTypeList}">
                <label><input type="checkbox" name="proFeeType" value="${item.paymentType}">${item.paymentType}</label>
            </c:forEach>
            </c:if>
            <c:if test="${empty payTypeList}">
                <a href="payType_list" target="navTab">请先添加物业费类型</a>
            </c:if>
            </p>

        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent" style="text-align: center;">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>